<?php

namespace app\index\model;

use think\Model;

/**
 * 普通用户表
 * Class User
 * @package app\index\model
 */
class User extends Model
{
    protected $name = 'member_user';
    public $autoWriteTimestamp = 'int';
    protected $append = [
        'device_list'
    ];

    function getDeviceListAttr($value,$data)
    {
        return trim($value,',');
    }

}